package com.engr.consts;

public interface FormatDefinition {
	final static String yyyyMMdd = "yyyyMMdd";
	final static String yyyy_MM_dd = "yyyy-MM-dd";
	final static String yyyy_MM_dd_HH_mm = "yyyy-MM-dd HH:mm";
	final static String yyyy_MM_dd_HH_mm_ss = "yyyy-MM-dd HH:mm:ss";
	final static String MM_dd_yyyy = "MM/dd/yyyy";
	/** 2016-01-01 */
	final static String ISO_DATE_FORMAT = "yyyy-MM-dd";
	/** 16:51:55 */
	final static String ISO_TIME_NO_T_FORMAT = "HH:mm:ss";
	/** 2016-01-01T16:51:55 */
	final static String ISO_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
	/** 2016-01-01T16:51:55.939+08:00 */
	final static String ISO8601_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX";
	/**
	 * [1900-01-01,2099-12-31]年间的yyyy-MM-dd的日期正则表达式
	 */
	final static String DATE_REGEX = "((19|20)\\d\\d)-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])";
}
